package com.yuqih.common.websocket.monitor.impl;

public class ParamDefinition {

	private final Class<?> paramType;
	private final boolean nullable;

	/**
	 * @param paramName
	 * @param paramType
	 */
	public ParamDefinition(Class<?> paramType) {
		super();
		this.paramType = paramType;
		this.nullable = false;
	}

	/**
	 * @param paramName
	 * @param paramType
	 * @param nullable
	 */
	public ParamDefinition(Class<?> paramType, boolean nullable) {
		super();
		this.paramType = paramType;
		this.nullable = nullable;
	}


	/**
	 * @return the paramType
	 */
	public Class<?> getParamType() {
		return paramType;
	}

	/**
	 * @return the nullable
	 */
	public boolean isNullable() {
		return nullable;
	}

}
